package com.zhkj.txg.module.member.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class RebateStatisticsResponse(
    val data: RebateIncomeEntity? = null
) : BaseResponse()

data class RebateIncomeEntity(
    val today: RebateStatisticsEntity? = null,
    val yesterday: RebateStatisticsEntity? = null,
    val month: RebateStatisticsEntity? = null,
    @SerializedName("last_month")
    val lastMonth: RebateStatisticsEntity? = null
)

data class RebateStatisticsEntity(
    @SerializedName("order_num")
    val orderCount: Int = 0,
    val total: Double = 0.0,
    val settle: Double = 0.0
) {
    var typeString: String = ""
}